
class Employees {
	String Name;
	float Salary;
	
	public Employees() {
		Name = "";
		Salary = 0.0f;
	}
	
	public Employees(String TheName, float TheSalary) {
		Name = TheName;
		Salary = TheSalary;
	}
	
	public float RaiseSalary(float Percent) throws OverSalaryRaiseException {
		
		if (Percent > 0.05f) {
		throw new OverSalaryRaiseException("Raising rate should be <= 5%");
		}
		return Salary *= (1.0f + Percent);
	}
}
